﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MainTemplate.Master" AutoEventWireup="true" CodeBehind="SearchAllAuthors.aspx.cs" Inherits="AlexandriaPressWebsite.MasterPages.UserPages.SearchAllAuthors" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainDoc" runat="server">

 <asp:GridView ID="allAuthorsGridView1" runat="server" AutoGenerateColumns="False"    
               RowStyle-BorderStyle="None"  
               PagerSettings-PageButtonCount="10" 
               GridLines="None"
               AllowPaging="True" 
               OnPageIndexChanging="allAuthorsGridView1_OnPageIndexChanging" 
               BorderStyle="None" CssClass="grid" PageSize="8">
               
            <PagerSettings PageButtonCount="10" />
<RowStyle BorderStyle="None"></RowStyle>
            <Columns>
            <asp:TemplateField HeaderText = "Alexandria Press Authors">
                 <ItemTemplate>
                    <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("ProfilePic") %>' CssClass="smallImage2"/></asp:Label><br /><br />
                    AUTHOR: <asp:Label ID="Author" runat="server" Text='<%# Eval("Author") %>'></asp:Label><br />
                    GENDER: <asp:Label ID="Gender" runat="server" Text='<%# Eval("Gender") %>'></asp:Label><br />
                    DATE JOINED: <asp:Label ID="DateJoined" runat="server" Text='<%# Eval("DateJoined") %>'></asp:Label><br /><br />
                    <a href="AuthorDetailsPage.aspx?id=<%# Eval("UserID") %>">More>></a>
                </ItemTemplate>                      
            </asp:TemplateField>            
            </Columns>
        </asp:GridView>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="formDoc" runat="server">

</asp:Content>
